package edu.sctu.nieyu.day20150514.texttwo;


/**
 * Created by user01 on 2015/5/14.
 */
public class Main {
    public static void main(String[] args) {

        Message[] Array = new Message[10];

        for(int i=0;i<Array.length;i++){

        Message array = new Message();

            array.setName("Tom");
            array.setAge(18+i);
            array.setSex("man");

            Array[i] = array;




        }
        StudentOne s1 = new StudentOne(Array);
        s1.setInformation();

        StudentTwo s2 = new StudentTwo(Array);
        s2.setInformation();


    }
}
